package com.example.mynote.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.ImageButton;
import android.widget.TextView;

import com.example.mynote.R;
import com.example.mynote.base.BaseActivity;

public class UseActivity2 extends BaseActivity {

    private android.widget.ImageButton titleBack;
    private android.widget.TextView titleText;

    @Override
    protected int initLayout() {
        return R.layout.activity_use2;
    }

    @Override
    protected void initView() {

        titleBack = (ImageButton) findViewById(R.id.title_back);
        titleText = (TextView) findViewById(R.id.title_text);
    }

    @Override
    protected void initData() {
        titleBack.setOnClickListener(view -> finish());
        titleText.setText("使用须知");
    }
}